package com.koron.order.common.mapper;

import com.koron.order.common.bean.po.OrderDispatch;

import java.util.List;

/**
 * (OrderDispatch)表数据库访问层
 *
 * @author makejava
 * @since 2021-09-03 15:35:11
 */
public interface OrderDispatchMapper {

    OrderDispatch queryById(String id);

    List<OrderDispatch> queryList(OrderDispatch orderDispatch);

    int insert(OrderDispatch orderDispatch);

    int insertOrUpdate(OrderDispatch orderDispatch);

    int update(OrderDispatch orderDispatch);

    int deleteById(String id);

    OrderDispatch queryByOrderId(String id);

    int deleteByOrderId(String orderId);
}